import create from '@utils/create';
import areaPopup from './area-popup.vue';

const defaultParam = {
	region: '',
	callback: null,
	remove: null
};

export default function AreaPopup(options: any = {}) {
	options = { ...defaultParam, ...options };
	create(areaPopup, {
		...options
	});
}
